package
{
	public class PokerDesk
	{
		private var _id:int;
		private var _player1:Player;
		private var _player2:Player;
		private var _player3:Player;
		public function PokerDesk(id:int)
		{
			this._id=id;
		}
		public function isEmpty():Boolean
		{
			if(player1==null&&player2==null&&player3==null)
				return true;
			return false;
		}

		public function get player3():Player
		{
			return _player3;
		}

		public function set player3(value:Player):void
		{
			_player3 = value;
		}

		public function get player2():Player
		{
			return _player2;
		}

		public function set player2(value:Player):void
		{
			_player2 = value;
		}

		public function get player1():Player
		{
			return _player1;
		}

		public function set player1(value:Player):void
		{
			_player1 = value;
		}

		public function get id():int
		{
			return _id;
		}

		public function set id(value:int):void
		{
			_id = value;
		}

	}
}